package com.hooper.wallet.util;

import lombok.extern.slf4j.Slf4j;

/**
 * @author Tim Hooper
 * @version 1.0
 * @time 2023/03/07/20:04
 */
@Slf4j
public class ValidationCheckUtil {

    /**
     * 用户 id 合法校验
     * @param userId 用户id
     * @return
     */
    public static boolean isIdNotValidate(Long userId) {
        return userId == null || userId < 0;
    }
}
